projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dfbcd6
)
stylecontext: Make sure we always clear the cache when the CSS changes
author
Benjamin Otte
<otte@redhat.com>
Sat, 13 Dec 2014 02:41:33 +0000
(
03:41
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 13 Dec 2014 02:45:08 +0000
(
03:45
+0100)
After
b49c7c34214da2d8d5e6dae2e8d0b0fe1b23f68e
we were no longer doing a
full revalidate after GTK_CSS_CHANGE_SOURCE changes.
This fixes spurious failures of widgets not properly updating when
changing the theme.
gtk/gtkstylecontext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecontext.c
b/gtk/gtkstylecontext.c
index 6bd35c75540f136463950686d27d2796e425dab9..77739972ec433ea5214efa32498e5a3512f527f5 100644
(file)
--- a/
gtk/gtkstylecontext.c
+++ b/
gtk/gtkstylecontext.c
@@
-736,6
+736,8
@@
style_values_lookup (GtkStyleContext *context)
else
{
build_properties (context, values, info->decl, NULL, &priv->relevant_changes);
+ /* These flags are always relevant */
+ priv->relevant_changes |= GTK_CSS_CHANGE_SOURCE;
}
g_object_unref (values);